package com.example.libraryManager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author admin
 * @since 2022-09-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableId(value = "u_id", type = IdType.AUTO)
    private Integer uId;

    /**
     * 用户name
     */
    private String uName;

    /**
     * 用户账号
     */
    private String uAccount;

    /**
     * 用户密码
     */
    private String uPassword;

    /**
     * 用户性别
     */
    private String uGender;

    /**
     * 用户邮箱
     */
    private String uEmail;

    /**
     * 用户年龄
     */
    private String uAge;
}
